let mocks = []

const mocksArr = ['user', 'table']
mocksArr.forEach((el, index, array) => {
  const req = require(`./${el}`)
  mocks.push(...req)
})
console.log(JSON.stringify(mocks, null, 2))
